package com.yao.mapper;

import com.yao.service.pojo.UserCode;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Copyright (C), 2022-2022, 姚兵
 * Author: 32210
 * Date: 2022/11/3 12:51
 * FileName: UserCodeMapper
 * Description:
 */

public interface UserCodeMapper {

    @Select("select * from user_code where code=#{code}")
     UserCode getByCode(@Param("code") String code);
}
